package cn.bx.bid.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Professor {
	private long id, workDate, lostNum;
	//日期格式
	@JSONField(format = "yyyy-MM-dd")
	private Date birthday, createDate, modifyDate;
	private String professorName, gender, identityNumber, workStatus, institution, education, major, employCompany,
			administrative, technicalPost, phone, mobliePhone, address, projectCategory, createBy, modifyBy;

	private List<WorkHistory> workhistory = new ArrayList<>(0);

	public List<Project> getProject() {
		return project;
	}

	public void setProject(List<Project> project) {
		this.project = project;
	}

	private List<Project> project = new ArrayList<>(0);

	public Professor() {
		super();
	}

	public Professor(long workDate, Date birthday, Date createDate, Date modifyDate, String professorName, String gender, String identityNumber, String workStatus, String institution, String education, String major, String employCompany, String administrative, String technicalPost, String phone, String mobliePhone, String address, String projectCategory, String createBy, String modifyBy) {
		this.workDate = workDate;
		this.birthday = birthday;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.professorName = professorName;
		this.gender = gender;
		this.identityNumber = identityNumber;
		this.workStatus = workStatus;
		this.institution = institution;
		this.education = education;
		this.major = major;
		this.employCompany = employCompany;
		this.administrative = administrative;
		this.technicalPost = technicalPost;
		this.phone = phone;
		this.mobliePhone = mobliePhone;
		this.address = address;
		this.projectCategory = projectCategory;
		this.createBy = createBy;
		this.modifyBy = modifyBy;
	}

	public Professor(long id, long workDate, long lostNum, Date birthday, Date createDate, Date modifyDate, String professorName, String gender, String identityNumber, String workStatus, String institution, String education, String major, String employCompany, String administrative, String technicalPost, String phone, String mobliePhone, String address, String projectCategory, String createBy, String modifyBy, List<WorkHistory> workhistory, List<Project> project) {
		this.id = id;
		this.workDate = workDate;
		this.lostNum = lostNum;
		this.birthday = birthday;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.professorName = professorName;
		this.gender = gender;
		this.identityNumber = identityNumber;
		this.workStatus = workStatus;
		this.institution = institution;
		this.education = education;
		this.major = major;
		this.employCompany = employCompany;
		this.administrative = administrative;
		this.technicalPost = technicalPost;
		this.phone = phone;
		this.mobliePhone = mobliePhone;
		this.address = address;
		this.projectCategory = projectCategory;
		this.createBy = createBy;
		this.modifyBy = modifyBy;
		this.workhistory = workhistory;
		this.project = project;
	}

	@Override
	public String toString() {
		return "Professor{" +
				"id=" + id +
				", workDate=" + workDate +
				", lostNum=" + lostNum +
				", birthday=" + birthday +
				", createDate=" + createDate +
				", modifyDate=" + modifyDate +
				", professorName='" + professorName + '\'' +
				", gender='" + gender + '\'' +
				", identityNumber='" + identityNumber + '\'' +
				", workStatus='" + workStatus + '\'' +
				", institution='" + institution + '\'' +
				", education='" + education + '\'' +
				", major='" + major + '\'' +
				", employCompany='" + employCompany + '\'' +
				", administrative='" + administrative + '\'' +
				", technicalPost='" + technicalPost + '\'' +
				", phone='" + phone + '\'' +
				", mobliePhone='" + mobliePhone + '\'' +
				", address='" + address + '\'' +
				", projectCategory='" + projectCategory + '\'' +
				", createBy='" + createBy + '\'' +
				", modifyBy='" + modifyBy + '\'' +
				", workhistory=" + workhistory +
				", project=" + project +
				'}';
	}

	public List<WorkHistory> getWorkhistory() {
		return workhistory;
	}

	public void setWorkhistory(List<WorkHistory> workhistory) {
		this.workhistory = workhistory;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getWorkDate() {
		return workDate;
	}

	public void setWorkDate(long workDate) {
		this.workDate = workDate;
	}

	public long getLostNum() {
		return lostNum;
	}

	public void setLostNum(long lostNum) {
		this.lostNum = lostNum;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getProfessorName() {
		return professorName;
	}

	public void setProfessorName(String professorName) {
		this.professorName = professorName;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getIdentityNumber() {
		return identityNumber;
	}

	public void setIdentityNumber(String identityNumber) {
		this.identityNumber = identityNumber;
	}

	public String getWorkStatus() {
		return workStatus;
	}

	public void setWorkStatus(String workStatus) {
		this.workStatus = workStatus;
	}

	public String getInstitution() {
		return institution;
	}

	public void setInstitution(String institution) {
		this.institution = institution;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getEmployCompany() {
		return employCompany;
	}

	public void setEmployCompany(String employCompany) {
		this.employCompany = employCompany;
	}

	public String getAdministrative() {
		return administrative;
	}

	public void setAdministrative(String administrative) {
		this.administrative = administrative;
	}

	public String getTechnicalPost() {
		return technicalPost;
	}

	public void setTechnicalPost(String technicalPost) {
		this.technicalPost = technicalPost;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobliePhone() {
		return mobliePhone;
	}

	public void setMobliePhone(String mobliePhone) {
		this.mobliePhone = mobliePhone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getProjectCategory() {
		return projectCategory;
	}

	public void setProjectCategory(String projectCategory) {
		this.projectCategory = projectCategory;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(String modifyBy) {
		this.modifyBy = modifyBy;
	}



}
